Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix menu behaviour (#253) #255

Merged
merged 12 commits into from
Oct 11, 2021
Merged

Fix menu behaviour (#253) #255

merged 12 commits into from
Oct 11, 2021

Conversation

dhardy
Copy link
Collaborator

@dhardy dhardy commented Oct 11, 2021

Fixes #253, and in general menu behaviour:

  • close open menu when clicking menubar and when window loses focus
  • tighter event handling: TkAction::CLOSE is no longer an acceptable way of closing a popup (was unused); remove Event::NewPopup; close all descendants of a popup before the popup itself
  • restrict setting navigation focus on popup open/close to (mostly) keyboard input since with the mouse this is redundant or wrong
  • clear character-input focus when clearing navigation focus
  • rewrite handling of arrow-key input

@dhardy dhardy merged commit 3c5ce3a into master Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Menu behavior bugs
1 participant